package org.mercworks.igamexmlparser.dvo;

public class IGameVertex
{
	private Double x;
	private Double y;
	private Double z;
	private Integer vertexId;
	
	/**
	 * @return the x
	 */
	public Double getX()
	{
		return x;
	}
	/**
	 * @param x the x to set
	 */
	public void setX(Double x)
	{
		this.x = x;
	}
	/**
	 * @return the y
	 */
	public Double getY()
	{
		return y;
	}
	/**
	 * @param y the y to set
	 */
	public void setY(Double y)
	{
		this.y = y;
	}
	/**
	 * @return the z
	 */
	public Double getZ()
	{
		return z;
	}
	/**
	 * @param z the z to set
	 */
	public void setZ(Double z)
	{
		this.z = z;
	}
	/**
	 * @return the vertexId
	 */
	public Integer getVertexId()
	{
		return vertexId;
	}
	/**
	 * @param vertexId the vertexId to set
	 */
	public void setVertexId(Integer vertexId)
	{
		this.vertexId = vertexId;
	}
	
	public String toString()
	{
		StringBuffer sb = new StringBuffer();
		sb.append("\t\t\t[Vertex " + vertexId + ": " + "(" + x + ", " + y + ", " + z + ")]\n");
		return sb.toString();
	}
}
